/*
 * Copyright (c) 2018-2999 九五云信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 */

package com.yami.shop.delivery.comment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.app.dto.MyOrderDto;
import com.yami.shop.bean.app.dto.OrderSelfStationDto;
import com.yami.shop.bean.model.Order;
import com.yami.shop.delivery.comment.model.OrderSelfStation;

import java.util.List;

/**
 * 自提订单信息表
 *
 * @author YXF
 * @date 2020-04-23 15:18:29
 */
public interface OrderSelfStationService extends IService<OrderSelfStation> {

    String getNewInfo(Long shopId);

    MyOrderDto getOrderByStationCode(Long stationId, Long shopId, String code);

    /**
     * 获取用户的常用自提信息
     * @param userId 用户id
     * @return 用户的常用自提信息
     */
    List<OrderSelfStationDto> getUserStation(String userId);

    List<OrderSelfStation> getStationUserInfo(String userId);

    OrderSelfStationDto getStationByOrderNumber(String orderNumber);
}
